// 根据环境配置API域名
let api = ''
if (location.hostname === 'localhost') {
  api = process.env.API_PATH_DEV
} else if (location.hostname === '192.168.99.209') { // 测试
  api = process.env.API_PATH_TEST
} else if (location.hostname === 'hub.teayk.com') { // 正式
  api = process.env.API_PATH_PROD
}

export default api
